package com.guigu.www.erp.dengtao.dao;

import com.guigu.www.erp.common.pojo.DModuleDetails;
import com.guigu.www.erp.common.pojo.MDesignProcedure;
import com.guigu.www.erp.common.pojo.PageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MDesignProcedureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MDesignProcedure record);

    int insertSelective(MDesignProcedure record);

    MDesignProcedure selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MDesignProcedure record);

    int updateByPrimaryKey(MDesignProcedure record);

    String selectsyt();

    //根据产品编号查询（邓浩添加）
    MDesignProcedure DHQueryByProductId(String productId);

    List<MDesignProcedure> selectPageAll();


    List<MDesignProcedure> cxsy(@Param("time1") String time1,
                                @Param("time2") String time2);

    void xiugai(@Param("id") String id, @Param("sj") String sj);

    void xiugaibutg(String id);

    List<MDesignProcedure> bgbtg();

    void zongxiugai(MDesignProcedure mDesignProcedure);

    List<MDesignProcedure> gxwlsjd(MDesignProcedure mDesignProcedure);

    List<MDesignProcedure> wlsh();

    void up(int id);

    void bup(int id);

    List<MDesignProcedure> sjdbg();

    void xg(int parseInt);
}